<template>
	<div class="container" :id="id" v-if="descdata.content != ' '&& descdata.content != ''">
		
		<div class="container-box">
			<div class="top-box">
				<h2 class="box-title-ico">
					
					<span class="box-title-span">{{descdata.title}}</span>
				</h2>
			</div>
			<div class="content-box">
				<div class="box-text">
					<template v-if="descdata.upload!='' ">
						<img :src="img_root+descdata.upload" class="img-box">
					</template>
					<div v-html="descdata.content"></div>
					
				</div>
			</div>
		</div>
	</div>
</template>
<script>
	export default{
		data: function() {
			return {
				img_root: "//static.imrating.com/"
			};
		},
		props:['descdata','id']
	}
</script>
<style scoped="scoped">
	.img-box{
		width: 80%;
		height: auto;
	}
</style>